fieldset {
	border: 1px solid #999;
	border-radius: 5px;
	display: inline-block;
	box-shadow: 2px 2px 5px 1px #ccc;
	background: #f5f5f5;
	position: relative;
	padding: 0px;
	min-height: 30px;
}

legend {
	position: absolute;
	font-size: 60%;
	top: -1px;
	right: -1px;
	padding: 1px 3px 1px 3px;
	border: 1px solid #999;
	background: #ddd;
}

fieldset > label {
	font-size: 80%;
	display: block;
	margin: 7px;
}

fieldset > label > input, fieldset > label > select {
  background: #e5e5e5; /* Old browsers */
  background: -moz-linear-gradient(top,  #e5e5e5 0%, #ffffff 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e5e5e5), color-stop(100%,#ffffff)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top,  #e5e5e5 0%,#ffffff 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top,  #e5e5e5 0%,#ffffff 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top,  #e5e5e5 0%,#ffffff 100%); /* IE10+ */
  background: linear-gradient(top,  #e5e5e5 0%,#ffffff 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e5e5e5', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */

	display: block;
	border: 1px solid #ccc;
}

input[type=submit], input[type=button], input[type=reset] {
	font-size: 60%;
	border: 1px solid #999;
	background: #ddd;
	padding: 1px 3px 1px 3px;
	box-shadow: 1px 1px 2px 0px #ccc;
	margin: 0px 7px 7px 7px;
	display: inline-block;
} input[type=submit]:hover, input[type=button]:hover, input[type=reset]:hover {
  background: #fcfff4; /* Old browsers */
  background: -moz-linear-gradient(top,  #fcfff4 0%, #dfe5d7 40%, #b3bead 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fcfff4), color-stop(40%,#dfe5d7), color-stop(100%,#b3bead)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top,  #fcfff4 0%,#dfe5d7 40%,#b3bead 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top,  #fcfff4 0%,#dfe5d7 40%,#b3bead 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top,  #fcfff4 0%,#dfe5d7 40%,#b3bead 100%); /* IE10+ */
  background: linear-gradient(top,  #fcfff4 0%,#dfe5d7 40%,#b3bead 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fcfff4', endColorstr='#b3bead',GradientType=0 ); /* IE6-9 */
} input[type=submit]:active, input[type=button]:active, input[type=reset]:active {
  background: #b3bead; /* Old browsers */
  background: -moz-linear-gradient(top,  #b3bead 0%, #dfe5d7 60%, #fcfff4 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#b3bead), color-stop(60%,#dfe5d7), color-stop(100%,#fcfff4)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top,  #b3bead 0%,#dfe5d7 60%,#fcfff4 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top,  #b3bead 0%,#dfe5d7 60%,#fcfff4 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top,  #b3bead 0%,#dfe5d7 60%,#fcfff4 100%); /* IE10+ */
  background: linear-gradient(top,  #b3bead 0%,#dfe5d7 60%,#fcfff4 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b3bead', endColorstr='#fcfff4',GradientType=0 ); /* IE6-9 */
}



input[type=checkbox], input[type=radio] {
	display: inline-block;
}